package com.itzyf.pokemondata.bean

import java.util.*


/**
 * @author 依风听雨
 * @version 创建时间：2019/01/23 09:00
 */
data class ExclusiveJsonDo(
    val createdAt: Date,
    val effect: String,
    val hp: Int,
    val invalid: Boolean,
    val name: String,
    val objectId: String,
    val pa: Int,
    val pd: Int,
    val pokemonName: String,
    val sa: Int,
    val sd: Int,
    val speed: Int,
    val updatedAt: Date
)

data class PokemonJsonDo(
    val createdAt: Date,
    val exclusive: Exclusive?,
    val hp: Int,
    val objectId: String,
    val pa: Int,
    val pd: Int,
    val pokemonName: String,
    val sa: Int,
    val sd: Int,
    val skin: String?,
    val speed: Int,
    val updatedAt: Date,
    val property: String,
    val discount: Double,
    val specialTraining: String,
    val st2: String,
    val isLevel: Boolean = false,
    val red1: String,
    val img: String = "",
    val skinImg: String = ""
)

data class Exclusive(
    val __type: String,
    val className: String,
    val objectId: String
)

data class ComprehensiveJsonDo(
    val cType: CType?,
    val createdAt: Date,
    val imageUrl: String?,
    val content: String?,
    val httpUrl: String?,
    val name: String,
    val objectId: String,
    val type: Int,
    val updatedAt: Date
)

data class CType(
    val objectId: String
)

data class FestuvaEnvoyJsonDo(
    val answer: String,
    val question: String,
    val createdAt: Date,
    val objectId: String,
    val updatedAt: Date
)

data class SuperSkillJsonDo(
    val updatedAt: Date,
    val objectId: String,
    val createdAt: Date,
    val property: String,
    val hitRate: Int = 0,
    val power: Int = 0,
    val cname: String,
    val ctype: String,
    val effect: String,
    var detail: String
)

data class SkillJsonDo(
    val updatedAt: Date,
    val objectId: String,
    val createdAt: Date,
    val attribute: String,
    val pp: Int = 0,
    val detailed: String,
    val shooting: Int = 0,
    val power: Int = 0,
    val cname: String,
    val ctype: String,
    val tooltip: String
)

data class CharacteristicJsonDo(
    val updatedAt: Date,
    val objectId: String,
    val createdAt: Date,
    val explain: String,
    val cname: String,
    val detail: String
)

data class PropJsonDo(
    val updatedAt: Date,
    val objectId: String,
    val createdAt: Date,
    val effect: String,
    val cname: String,
    val icon: String,
    val detail:String
)